﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Main.master" AutoEventWireup="true" CodeBehind="ShiftCalendar.aspx.cs" Inherits="EntryExit.ShiftCalendar" %>

<asp:Content ID="shiftCalendarContent" ContentPlaceHolderID="MainContent" runat="server">
    <dx:ASPxRoundPanel ID="shiftViewerPanel" runat="server" Width="100%" HeaderText="Shift Details" Height="400px">
        <HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Size="Medium" />
        <PanelCollection>
            <dx:PanelContent>
                <dx:ASPxCalendar ID="shiftCalendar" runat="server"   OnDayRender="shiftCalendar_DayRender"  Width="100%" Columns="4" Rows="3" ShowClearButton="False" ShowTodayButton="False" ShowWeekNumbers="False" ></dx:ASPxCalendar>
               <table>
                                        <tr>
                                            <td>
                                                <dx:ASPxLabel ID="lblShiftTimings" runat="server" Text="Shift Timings" Font-Bold="True"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                    </table>
                <table>
                    <tr>
                        <td style="width:5%;height:27px;background:Aqua" align="center"></td>                      
                        <td style="width:20%">
                            <asp:Label ID="Label2" runat="server" Text="No data,Reason:Before DOJ"></asp:Label>
                        </td>
                        
                        <td style="width:5%;height:27px; background:LightGreen" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label7" runat="server" Text="General Shift(1) (9:00 AM-6:00 PM)"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:Gray" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label12" runat="server" Text="Night Shift"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:LightBlue" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label1" runat="server" Text="Late Night (1) (3:00 AM-12:00 PM)"></asp:Label>
                        </td>
                       
                    </tr>

                    <tr>
                        <td style="width:5%;height:27px; height:30px;background:ForestGreen" align="center"></td>                      
                        <td style="width:20%">
                            <asp:Label ID="Label3" runat="server" Text="Defaulted to GeneralShift, Reason:No data"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:LightCoral" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label8" runat="server" Text="Late Night (2) (4:00 AM-1:00 PM)"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px; background:LightCyan" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label13" runat="server" Text="Early Morning (1) (5:30 AM-2:30 PM)"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px; background:LightGoldenrodYellow" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label17" runat="server" Text="Early Morning (2) (6:00 AM-3:00 PM)"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                       <td style="width:5%;height:27px; background:LightSkyBlue" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label4" runat="server" Text="Evening Shift (1) (2:00 PM-11:00 PM)"></asp:Label>
                        </td>
                       <td style="width:5%;height:27px;  background:LightSalmon" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label9" runat="server" Text="General-12hour shift(9:00AM-9:00PM)"></asp:Label>
                        </td>
                       <td style="width:5%;height:27px;  background:LightSeaGreen" align="center">&nbsp;</td>
                        <td style="width:20%">
                            <asp:Label ID="Label14" runat="server" Text="Late Night (3) (4:30 PM-1:30 AM)"></asp:Label>
                        </td>
                       <td style="width:5%;height:27px;  background:LightSlateGray" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label18" runat="server" Text="Late Night (4) (5:30 PM-2:30 AM)"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:5%;height:27px;  background:Yellow" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label5" runat="server" Text="Morning Shift (6:00 AM-2:00 PM)"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:Lime" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label10" runat="server" Text="Late Night (5) (6:00 PM-3:00 AM)"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px; background:Magenta" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label15" runat="server" Text="Late Night (6) (10:30 PM-6:30 AM)"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:Maroon" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label19" runat="server" Text="GeneralShift(2) (8:00AM-5:00PM)"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:5%;height:27px;  background:LightPink" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label6" runat="server" Text="Noon Shift (11:30 AM-8:30 PM)"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:MediumAquamarine" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label11" runat="server" Text="Evening Shift (2) (12:00 PM-9:00 PM)"></asp:Label>
                        </td>
                         <td style="width:5%;height:27px;  background:MediumPurple" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label16" runat="server" Text="Night Shift(1) (9:00 PM-6:00 PM)"></asp:Label>
                        </td>
                         <td style="width:5%;height:27px;  background:Red" align="center"></td>                      
                       <td style="width:20%">
                           <asp:Label ID="Label20" runat="server" Text="Unknown Shift"></asp:Label>
                        </td>
                    </tr>
                </table>

                                    
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxRoundPanel>
</asp:Content>

<%--<asp:Content ID="OptionsContent" ContentPlaceHolderID="RightContent" runat="server">
    <dx:ASPxSplitter Orientation="Vertical" runat="server" Width="100%" Height="100%" AllowResize="False" Font-Size="Medium">
        <Panes>
            <dx:SplitterPane ShowCollapseForwardButton="True" Size="60%" ScrollBars="Auto">
                <ContentCollection>
                    <dx:SplitterContentControl>
                        <dx:ASPxTreeView ID="subOrdinatesTreeView" runat="server" AllowSelectNode="True" OnNodeClick="subOrdinatesTreeView_NodeClick" Theme="SoftOrange"></dx:ASPxTreeView>
                    </dx:SplitterContentControl>
                </ContentCollection>
            </dx:SplitterPane>
            <dx:SplitterPane Size="40%">
                <ContentCollection>
                    <dx:SplitterContentControl>
                        <dx:ASPxPanel ID="shiftLegendPanel" runat="server" Width="100%">
                            <PanelCollection>
                                <dx:HtmlEditorRoundPanelContent>
                                    <table>
                                        <tr>
                                            <td>
                                                <dx:ASPxLabel ID="lblShiftTimings" runat="server" Text="Shift Timings" Font-Bold="True"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                    </table>
                                    <table>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox1" BackColor="Yellow" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Morning Shift (6:00 AM - 2:00 PM)"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox2" BackColor="LightGreen" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="General Shift(1) (9:00 AM - 6:00 PM)"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox3" BackColor="LightPink" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Noon Shift (11:30 AM - 8:30 PM)"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox4" BackColor="LightSkyBlue" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Evening Shift (1) (2:00 PM - 11:00 PM)"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox5" BackColor="Gray" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="Night Shift (11:00 PM - 6:00 AM)"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                    </table>
                                </dx:HtmlEditorRoundPanelContent>
                            </PanelCollection>
                        </dx:ASPxPanel>
                    </dx:SplitterContentControl>
                   
                </ContentCollection>
            </dx:SplitterPane>
        </Panes>
    </dx:ASPxSplitter>
</asp:Content>--%>
